spl: add support for alternative boot device
authorNikita Kiryanov <[email protected]>
Sun, 8 Nov 2015 15:11:51 +0000 (17:11 +0200)
committerTom Rini <[email protected]>
Wed, 18 Nov 2015 19:50:03 +0000 (14:50 -0500)
commitf101e4bd37030930f19dc5108c59544b2ee25208
tree535b01fe5553ed4b839aa4f5804e4233d6a0287e
parent5211b87e0c323e7474be9c817c9880f51459fbb9
spl: add support for alternative boot device

Introduce spl_boot_list array, which defines a list of boot devices
that SPL will try before hanging. By default this list will consist
of only spl_boot_device(), but board_boot_order() can be overridden
by board code to populate the array with custom values.

Signed-off-by: Nikita Kiryanov <[email protected]>
Cc: Igor Grinberg <[email protected]>
Cc: Tom Rini <[email protected]>
Cc: Simon Glass <[email protected]>
Reviewed-by: Tom Rini <[email protected]>
Reviewed-by: Simon Glass <[email protected]>
common/spl/spl.c